package MsgPackage;

/**
 * @author Omri Barda 039725890
 * @author Amit Joseph 034608547
 * @author Gilad Shpigel 300162393
 * @author Elad Elbaz 040539959
 * @version June 2012
 */

public class GetExamNumberPack extends MessagePack {
	private static final long serialVersionUID = 1L;
	private Integer subjectNum;
	private Integer courseNum;
	private Integer newExamNum;

	/**
	 * constructor
	 * 
	 * @param cNum
	 * @param sNum
	 */
	public GetExamNumberPack(Integer cNum, Integer sNum) {
		this.op = OpType.GetExamNumber;
		this.setCourseNum(cNum);
		this.setSubjectNum(sNum);
	}

	/**
	 * @return the courseNum
	 */
	public Integer getCourseNum() {
		return courseNum;
	}

	/**
	 * @param courseNum
	 *            the courseNum to set
	 */
	public void setCourseNum(Integer courseNum) {
		this.courseNum = courseNum;
	}

	/**
	 * @return the newQuestionNum
	 */
	public Integer getNewExamNum() {
		return newExamNum;
	}

	/**
	 * @param newQuestionNum
	 *            the newQuestionNum to set
	 */
	public void setNewExamNum(Integer newExamNum) {
		this.newExamNum = newExamNum;
	}

	/**
	 * 
	 * @return the subject number
	 */
	public Integer getSubjectNum() {
		return subjectNum;
	}

	/**
	 * 
	 * @param subjectNum
	 *            the subject number to set
	 */
	public void setSubjectNum(Integer subjectNum) {
		this.subjectNum = subjectNum;
	}
}
